using System;
using System.Text.Json.Serialization;
using UwinEducation.Shared.Converters;
using UwinEducation.Shared.Enums;

namespace UwinEducation.Shared.Models
{
    /// <summary>
    /// 订单分页请求参数
    /// </summary>
    public class OrderPageRequest : PageRequest
    {


        /// <summary>
        /// 创建开始日期
        /// </summary>
        [JsonConverter(typeof(CustomDateTimeConverter))]
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 创建结束日期
        /// </summary>
        [JsonConverter(typeof(CustomDateTimeConverter))]
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 学号
        /// </summary>
        public string? StudentNo { get; set; }

        /// <summary>
        /// 学生姓名
        /// </summary>
        public string? StudentName { get; set; }

        /// <summary>
        /// 订单结算状态
        /// </summary>
        public PaymentStatus? PaymentStatus { get; set; }

        /// <summary>
        /// 订单说明
        /// </summary>
        public string? Description { get; set; }
    }
} 